﻿/******************************************************************************
* File description: animationPublicInterface.h
* Function: 已弃用
* Current Version: 1.0.0
* Author: JNN
* Date: 2025-07-01
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/

#ifndef ANIMATIONPUBLICINTERFACE_H
#define ANIMATIONPUBLICINTERFACE_H

#include <QObject>
#include "animationState_Purify.h"
#include "animationState_Shifting.h"
#include "animationState_Practice.h"
#include "logHelper/debugLog.h"
class AnimationPublicInterface : public QObject
{
    Q_OBJECT
private:
    AnimationPublicInterface();
public:
    static AnimationPublicInterface& I();
    void initState(AnimationState_Shifting* state_shifting, AnimationState_Practice* state_practice, AnimationState_Purify* state_purify);

    Q_INVOKABLE void handleErrorMsg(QString errorMsg, int module);

    AnimationState_Purify*      _state_purify = nullptr;
    AnimationState_Practice*    _state_practice = nullptr;
    AnimationState_Shifting*    _state_shifting = nullptr;
};

#endif // ANIMATIONPUBLICINTERFACE_H
